﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace E5_KhuyenMaiVang.Controllers
{
    public class EmailController : Controller
    {
        //
        // GET: /Email/

        public ActionResult Send()
        {
            try
            {
                //string content = "Mật khẩu của bạn là: 12345678";
                string content = @"<h1> Deal ngày hôm nay<h1/>
<a href=http://www.facebook.com/n/?notes%2Ftrung-hau%2Fhappy-ending%2F242226319223408&mid=62b3c7cG4fb65970G3b0aed9Ga&bcode=NRBPmOu3&n_m=satthu_kinhte_2025%40yahoo.com >Link facebook<a/>";
                bool rs = Email.EmailService.SendMail("E5Group", "e5webgroup@gmail.com", "hcmusfit",
                    "huuduc.hcmus@gmail.com", "[E5Group]Khôi phục mật khẩu", content);
            }
            catch
            {
            }
            return View();
        }

    }
}
